package com.xhai.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 岗位表
 * </p>
 *
 * @author xhai
 * @since 2025-05-24
 */
@Getter
@Setter
@ToString
@TableName("sys_post")
@Schema(name = "SysPost", description = "岗位表")
public class SysPost extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 岗位ID
     */
    @Schema(description = "岗位ID")
    @TableId(value = "POST_ID", type = IdType.ASSIGN_ID)
    private Long postId;

    /**
     * 岗位编码
     */
    @TableField("POST_CODE")
    @Schema(description = "岗位编码")
    private String postCode;

    /**
     * 岗位名称
     */
    @TableField("POST_NAME")
    @Schema(description = "岗位名称")
    private String postName;

    /**
     * 备注
     */
    @TableField("REMARK")
    @Schema(description = "备注")
    private String remark;

    /**
     * 显示顺序
     */
    @TableField("ORDER_NUM")
    @Schema(description = "显示顺序")
    private Integer orderNum;
}
